package com.ant.backstage.service;

import com.ant.backstage.facade.ApiReturn;
import com.ant.backstage.facade.request.CheckVerifyCodeRequest;
import com.ant.backstage.facade.request.GetVerificationCodeRequest;
import com.ant.backstage.facade.request.MailRequest;

import javax.servlet.http.HttpServletResponse;

/**
 * @param $
 * @author zhangyu
 * @description $
 * @date $ $
 * @return $
 * @since
 **/
public interface VerificationICodeService {
    ApiReturn getVerificationCode( GetVerificationCodeRequest getRequest);

    ApiReturn checkVerificationCode( CheckVerifyCodeRequest checkVerifyCodeRequest, HttpServletResponse response);

    ApiReturn sendMail( MailRequest mailRequest);
}
